# Contributor: Eloi Torrents <eloitor@disroot.org>
# Maintainer: Eloi Torrents <eloitor@disroot.org>
pkgname=hunspell-ca-es
pkgver=3.0.7
pkgrel=0
pkgdesc="Catalan (Spain) hunspell dictionaries"
url="https://www.softcatala.org/projectes/corrector-ortografic/"
arch="noarch"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
makedepends="unzip"
options="!check" # no tests available
source="https://github.com/Softcatala/catalan-dict-tools/releases/download/v$pkgver/ca.$pkgver-hunspell.zip"
builddir="$srcdir/"

package() {
	install -d "$pkgdir"/usr/share/hunspell
	install -m644 catalan.aff "$pkgdir"/usr/share/hunspell/ca_ES.aff
	install -m644 catalan.dic "$pkgdir"/usr/share/hunspell/ca_ES.dic
}
sha512sums="
39972b3964fa2d0fa822a2cf729efe93208aff5327fd0d8ef1ebe8f3461084c351cba4c0c73e780187f0e77a78f605659eed3ce06754ab0a6d5f2ab93bc9d155  ca.3.0.7-hunspell.zip
"
